package org.example.exp3.exam1;

public class CheckSystemFacade {
   private EngineCheckSystem engineCheck = new EngineCheckSystem();
   private BrakeCheckSystem brakeCheck = new BrakeCheckSystem();
   private LightCheckSystem lightCheck = new LightCheckSystem();
   private TyreCheckSystem tyreCheck = new TyreCheckSystem();

   public void selfCheck() {
      engineCheck.checkEngine();
      brakeCheck.checkBrake();
      lightCheck.checkLight();
      tyreCheck.checkTyre();
   }
}